package com.danco.training.zaneuskaya.view.action.booklist;

import com.danco.training.zaneuskaya.api.BookController;
import com.danco.training.zaneuskaya.controller.BookControllerImpl;
import com.danco.training.zaneuskaya.dependency.DependencyConfiguration;
import com.danco.training.zaneuskaya.view.action.Action;

public class SortBookListByPriceAction implements Action{
	
	BookController bookController = (BookController) DependencyConfiguration.getInstanceByClassName(BookController.class);
	
	public void execute() {
		bookController.printBookListSortedByPrice();
	}
}
